tools: socfpga: Stop using global struct socfpga_image
authorMarek Vasut <[email protected]>
Sun, 15 Apr 2018 11:38:49 +0000 (13:38 +0200)
committerMarek Vasut <[email protected]>
Tue, 8 May 2018 19:08:42 +0000 (21:08 +0200)
commit9f0021a50b5a39a01f2ab3095a952a255660eb3f
tree037b65a7a05165fcfdd9c016abf5012cf0a4c0c0
parent662abc4fc5cba70bc261039c4579223de3fca2ed
tools: socfpga: Stop using global struct socfpga_image

The structure is passed around correctly, create local instances
where necessary and zap the global struct socfpga_image instance.

Signed-off-by: Marek Vasut <[email protected]>
Cc: Dinh Nguyen <[email protected]>
Cc: Chin Liang See <[email protected]>
tools/socfpgaimage.c